//using System;
//using System.Runtime.InteropServices;

//namespace Windows7.DesktopIntegration.Interop
//{
//    [ComImport]
//    [Guid("ea1afb91-9e28-4b86-90e9-9e9f8a5eefaf")]
//    [InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
//    internal interface ITaskbarList3
//    {
//        // ITaskbarList
//        [PreserveSig]
//        void HrInit();
//        [PreserveSig]
//        void AddTab(IntPtr hWnd);
//        [PreserveSig]
//        void DeleteTab(IntPtr hWnd);
//        [PreserveSig]
//        void ActivateTab(IntPtr hWnd);
//        [PreserveSig]
//        void SetActiveAlt(IntPtr hWnd);

//        // ITaskbarList2
//        [PreserveSig]
//        void MarkFullscreenWindow(IntPtr hWnd,[MarshalAs(UnmanagedType.Bool)] bool fFullscreen);

//        // ITaskbarList3
//        void SetProgressValue(IntPtr hWnd, UInt64 ullCompleted, UInt64 ullTotal);
//        void SetProgressState(IntPtr hWnd, TBPFLAG tbpFlags);
//        void RegisterTab(IntPtr hwndTab, IntPtr hwndMDI);
//        void UnregisterTab(IntPtr hwndTab);
//        void SetTabOrder(IntPtr hwndTab, IntPtr hwndInsertBefore);
//        void SetTabActive(IntPtr hwndTab, IntPtr hwndMDI, TBATFLAG tbatFlags);
//        void ThumbBarAddButtons(IntPtr hWnd, uint cButtons,[MarshalAs(UnmanagedType.LPArray)] THUMBBUTTON[] pButtons);
//        void ThumbBarUpdateButtons(IntPtr hWnd,uint cButtons,[MarshalAs(UnmanagedType.LPArray)] THUMBBUTTON[] pButtons);
//        void ThumbBarSetImageList(IntPtr hWnd, IntPtr himl);
//        void SetOverlayIcon(IntPtr hWnd,IntPtr hIcon,[MarshalAs(UnmanagedType.LPWStr)] string pszDescription);
//        void SetThumbnailTooltip(IntPtr hWnd,[MarshalAs(UnmanagedType.LPWStr)] string pszTip);
//        void SetThumbnailClip(IntPtr hWnd,/*[MarshalAs(UnmanagedType.LPStruct)]*/ ref RECT prcClip);
//    }
//}